Add gdk_window_get_children_with_user_data
authorAlexander Larsson <alexl@redhat.com>
Fri, 3 May 2013 08:39:24 +0000 (10:39 +0200)
committerAlexander Larsson <alexl@redhat.com>
Tue, 7 May 2013 14:40:17 +0000 (16:40 +0200)
commitadffcf8af64a21bb639c2e71199d1be63d1dd4fe
treeb8ab9e6338a6702737bc745eff1aa70ca973b051
parentcad751c76245c57ea803c166af437d3a32966288
Add gdk_window_get_children_with_user_data

This function returns all the children that has a specific user_data set.
This is used a lot in the new GtkWidget drawing code and doing
it this way is faster than getting every child and calling get_user_data
on each (which was a non-neglible part of the profiles). Additionally it
also allows use to use some kind of hashtable to make this operation even
faster if needed in the future.
gdk/gdkwindow.c
gdk/gdkwindow.h